//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package javax.vpncrypto;

import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectStreamClass;
import java.io.StreamCorruptedException;

final class extObjectInputStream extends ObjectInputStream {
    private static ClassLoader systemClassLoader = null;

    extObjectInputStream(InputStream var1) throws IOException, StreamCorruptedException {
        super(var1);
    }

    protected Class<?> resolveClass(ObjectStreamClass var1) throws IOException, ClassNotFoundException {
        try {
            return super.resolveClass(var1);
        } catch (ClassNotFoundException var4) {
            ClassLoader var3 = Thread.currentThread().getContextClassLoader();
            if (var3 == null) {
                if (systemClassLoader == null) {
                    systemClassLoader = ClassLoader.getSystemClassLoader();
                }

                var3 = systemClassLoader;
                if (var3 == null) {
                    throw new ClassNotFoundException(var1.getName());
                }
            }

            return Class.forName(var1.getName(), false, var3);
        }
    }
}
